/*
 * ChooseAddressListItem.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.UserAddress;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.ChooseAddressHolder;

/**
 * 选择地址ListItem
 */
public class ChooseAddressListItem extends DisplayListItem<ChooseAddressHolder, UserAddress> {

    public ChooseAddressListItem(UserAddress s) {
        super(s);
    }

    @Override
    public void onShow(Context context, final ChooseAddressHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return ChooseAddressListItem.class.getSimpleName();
    }

    @Override
    public Class<ChooseAddressHolder> getViewHolderClazz() {
        return ChooseAddressHolder.class;
    }
}
